package com.hzy.ums.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 会员收货地址视图对象 ums_member_address
 *
 * @author zengxin
 * @date 2023-10-19
 */
@Data
@ExcelIgnoreUnannotated
public class MemberAddressVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    private Long id;

    /**
     * 会员id
     */
    @ExcelProperty(value = "会员id")
    private Long memberId;

    /**
     * 收货人名称
     */
    @ExcelProperty(value = "收货人名称")
    private String name;

    /**
     * 隐藏前三位后四位的手机号
     */
    @ExcelProperty(value = "隐藏前三位后四位的手机号")
    private String phoneHidden;

    /**
     * 是否为默认
     */
    @ExcelProperty(value = "是否为默认", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_show_status")
    private Integer defaultStatus;

    /**
     * 邮政编码
     */
    @ExcelProperty(value = "邮政编码")
    private String postCode;

    /**
     * 省份/直辖市
     */
    @ExcelProperty(value = "省份/直辖市")
    private String province;

    /**
     * 城市
     */
    @ExcelProperty(value = "城市")
    private String city;

    /**
     * 区
     */
    @ExcelProperty(value = "区")
    private String district;

    /**
     * 详细地址(街道)
     */
    @ExcelProperty(value = "详细地址(街道)")
    private String detailAddress;

    /**
     * 是否默认
     */
    @ExcelProperty(value = "是否默认")
    private Integer isDefault;

    /**
     * 省份/直辖市id
     */
    @ExcelProperty(value = "省份/直辖市id")
    private Long provinceId;

    /**
     * 城市id
     */
    @ExcelProperty(value = "城市id")
    private Long cityId;

    /**
     * 区id
     */
    @ExcelProperty(value = "区id")
    private Long districtId;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @ExcelProperty(value = "修改时间")
    private Date updateTime;


}
